<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Timeline</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Timeline</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_controllers---timeline.php.html">/controllers/timeline.php</a> (line <span class="field"><a href="../__filesource/fsource_AppControllers__controllerstimeline.php.html#a8">8</a></span>)
		</p>
		
				
		<pre>CI_Controller
   |
   --<a href="../Abstract/Core/MY_Controller.html">MY_Controller</a>
      |
      --<a href="../Abstract/Core/Abstract_common_controller.html">Abstract_common_controller</a>
         |
         --<a href="../Abstract/Core/Abstract_frontend_controller.html">Abstract_frontend_controller</a>
            |
            --Timeline</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																												
												<div class="method-definition">
											<span class="method-result">Timeline</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#ajaxTimelineInfoData" title="details" class="method-name">ajaxTimelineInfoData</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#ajaxUpdateList" title="details" class="method-name">ajaxUpdateList</a>
											([<span class="var-type">integer</span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#index" title="details" class="method-name">index</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">INVALID_YEAR</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">array<mixed></span>
										<a href="#_getPhysicistsAndInventions" title="details" class="method-name">_getPhysicistsAndInventions</a>
											([<span class="var-type">integer</span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../Abstract/Core/Abstract_common_controller.html">Abstract_common_controller</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../Abstract/Core/Abstract_common_controller.html#var$template_css_files">Abstract_common_controller::$template_css_files</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../Abstract/Core/Abstract_common_controller.html#var$template_js_files">Abstract_common_controller::$template_js_files</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_AppControllers__controllerstimeline.php.html#a13">13</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor for loading common stuff.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Timeline</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../Abstract/Core/Abstract_frontend_controller.html#method__construct">Abstract_frontend_controller::__construct()</a></dt>
					</dl>
			
	</div>
<a name="methodajaxTimelineInfoData" id="ajaxTimelineInfoData"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">ajaxTimelineInfoData</span> (line <span class="line-number"><a href="../__filesource/fsource_AppControllers__controllerstimeline.php.html#a125">125</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates and return JSON array of object representing each physicist name and both birth and  death year in chronological order.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ajaxTimelineInfoData
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$period</span>			</li>
				</ul>
		
			
	</div>
<a name="methodajaxUpdateList" id="ajaxUpdateList"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">ajaxUpdateList</span> (line <span class="line-number"><a href="../__filesource/fsource_AppControllers__controllerstimeline.php.html#a88">88</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Takes year as parameter and returns JSON representation of rendered partials for  physicists and inventions.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ajaxUpdateList
		</span>
					([<span class="var-type">integer</span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$year</span><span class="var-description">: year for which data have to be fetched from database.</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$period</span>			</li>
				</ul>
		
			
	</div>
<a name="methodindex" id="index"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">index</span> (line <span class="line-number"><a href="../__filesource/fsource_AppControllers__controllerstimeline.php.html#a22">22</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays page with timeline. Year on timeline will be set to its minimum as well  as list of physicists and inventions from this minimum year.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			index
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">INVALID_YEAR</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$year</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$period</span>			</li>
				</ul>
		
			
	</div>
<a name="method_getPhysicistsAndInventions" id="_getPhysicistsAndInventions"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_getPhysicistsAndInventions</span> (line <span class="line-number"><a href="../__filesource/fsource_AppControllers__controllerstimeline.php.html#a108">108</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns physicists and inventions from database for given year.</p>
	<ul class="tags">
				<li><span class="field">return:</span> physicists and inventions.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array<mixed></span>
		<span class="method-name">
			_getPhysicistsAndInventions
		</span>
					([<span class="var-type">integer</span>&nbsp;<span class="var-name">$year</span> = <span class="var-default">NULL</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$period</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$year</span><span class="var-description">: year, again ...</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$period</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Abstract/Core/Abstract_frontend_controller.html">Abstract_frontend_controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Abstract/Core/Abstract_frontend_controller.html#method__construct">Abstract_frontend_controller::__construct()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Abstract/Core/Abstract_common_controller.html">Abstract_common_controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method__construct">Abstract_common_controller::__construct()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#methodgetBaseUrl">Abstract_common_controller::getBaseUrl()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#methodgetConfigItem">Abstract_common_controller::getConfigItem()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method_addTemplateCss">Abstract_common_controller::_addTemplateCss()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method_addTemplateDynamicJs">Abstract_common_controller::_addTemplateDynamicJs()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method_addTemplateJs">Abstract_common_controller::_addTemplateJs()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method_assignTemplateAdditionals">Abstract_common_controller::_assignTemplateAdditionals()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method_resetTemplateCss">Abstract_common_controller::_resetTemplateCss()</a></span><br>
													<span class="method-name"><a href="../Abstract/Core/Abstract_common_controller.html#method_resetTemplateJs">Abstract_common_controller::_resetTemplateJs()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../Abstract/Core/MY_Controller.html">MY_Controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../Abstract/Core/MY_Controller.html#method__construct">MY_Controller::__construct()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 15 Jan 2013 16:54:10 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>